//
//  MWConfigManager.h
//  XiRan-iOS
//
//  Created by Richfit on 2019/11/1.
//  Copyright © 2019 Wood. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MWConfigManager : NSObject
// 产品类型 0：木头平台 1：熙然平台
@property(nonatomic, strong) NSString *productType;
// 语言 0：中文 1：英文
@property(nonatomic, strong) NSString *language;
@property(nonatomic, strong) NSDictionary *localizableDic;

/// 记录是否网络错误   默认是正常
@property (nonatomic, assign) BOOL isNetError;

+ (instancetype)manager;
- (void)saveConfig;
- (void)loadConfig;
- (NSString *)objectForKey:(NSString *)key defaultValue:(NSString *)defaultValue;

@end

NS_ASSUME_NONNULL_END
